const Doc_Doclists = () => import("~/view/Documents/DocumList/DmList").then(m => m.default || m);
const Doc_Docmanage = () => import("~/view/Documents/DocumManage/DocmLists").then(m => m.default || m);
const Doc_Docreceive = () => import("~/view/Documents/DocumReceived/DrLists").then(m => m.default || m);
const Doc_Documaudit = () => import("~/view/Documents/DocumAudit/DaLists").then(m => m.default || m);
const Doc_Home = () => import("~/view/Documents/Home").then(m => m.default || m);

/**
 * 公文流转前缀-Doc
 */
export default [
    //首页
    {
        path: "/DocHome",
        name: "DocHome",
        component: Doc_Home,
        authentication: "DocHome"
    },
    //所有公文
    {
        path: "/Doclists",
        name: "Doclists",
        component: Doc_Doclists,
        authentication: "Doclists"
    },
    //我发布的公文
    {
        path: "/Docmanage",
        name: "Docmanage",
        component: Doc_Docmanage,
        authentication: "Docmanage"
    },
    //收到的公文
    {
        path: "/Docreceive",
        name: "Docreceive",
        component: Doc_Docreceive,
        authentication: "Docreceive"
    },
    //公文审核
    {
        path: "/Documaudit",
        name: "Documaudit",
        component: Doc_Documaudit,
        authentication: "Documaudit"
    }
]
